﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>无标题页</title>

    <script src="xiliuhu.js" type="text/javascript"></script>
</head>
<body>
    <script type="text/javascript">
        var out = lee.console;
        out.init(200, 400);
        (function(){
            var arr = [1,2,3,4,5,6];
            Array.insert(arr, 3.5, 4);
            out.out("arr = [1,2,3,4,5,6]");
            out.out("Array.insert(arr, 3.5, 4)");
            out.out("arr[4]==3.5 is " + (arr[4] == 3.5));
        })();
        out.out('n');
        
        (function(){
            var arr = [1,2,3,4,5,6];
            Array.insertBefore(arr, 3.5, 4);
            out.out("arr = [1,2,3,4,5,6]");
            out.out("Array.insertBefore(arr, 3.5, 4)");
            out.out("arr[3] == 3.5 is " + (arr[3] == 3.5));
        })();
        out.out('n');
        
        (function(){
            var arr = [1,2,3,4,5,6];
            Array.insertAfter(arr, 3.5, 3);
            out.out("arr = [1,2,3,4,5,6]");
            out.out("Array.insertAfter(arr, 3.5, 3)");
            out.out("arr[3] == 3.5 is " + (arr[3] == 3.5));
        })();
    </script>
</body>
</html>
